package cn.iocoder.yudao.module.system.api.a_gaojian;

import cn.iocoder.yudao.framework.common.pojo.CommonResult;
import cn.iocoder.yudao.module.system.enums.ApiConstants;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author lxj
 */
@FeignClient(name = ApiConstants.NAME) // TODO 芋艿：fallbackFactory =
@Tag(name = "RPC 服务 - 稿件审核")
public interface GaoJianApi {

    String PREFIX = ApiConstants.PREFIX + "/gaoJian";

    @GetMapping(PREFIX + "/review")
    CommonResult<Boolean> updateReview(@RequestParam("id") String id,
                                       @RequestParam("dataType") String dataType, @RequestParam("reviewStatus") Integer reviewStatus);

}
